The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "moosex::role::parameterized"

MooseX::Role::Parameterized - Moose roles with composition parameters River stage four • 89 direct dependents • 1563 total dependents

Your parameterized role consists of two new things: parameter declarations and a "role" block. Parameters are declared using the "parameter" keyword which very much resembles "has" in Moose. You can use any option that "has" in Moose accepts. The def...

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC - Search in distribution

Role::Subsystem - a parameterized role for object subsystems, helpers, and delegates River stage zero No dependents

Role::Subsystem is a parameterized role. It's meant to simplify creating classes that encapsulate specific parts of the business logic related to parent classes. As in the synopsis below, it can be used to write "helpers." The subsystems it creates m...

RJBS/Role-Subsystem-0.101342 - 31 Dec 2022 20:47:26 UTC - Search in distribution

Test::Mocha - Test double framework with method stubs and behaviour verification River stage one • 1 direct dependent • 1 total dependent

Test::Mocha is a test double framework inspired by Java's Mockito. It offers a different approach to other mocking frameworks in that instead of setting up the expected behaviour beforehand you ask questions about interactions after execution of the ...

STEVENL/Test-Mocha-0.67 - 05 Feb 2019 22:00:12 UTC - Search in distribution

Type::Tiny - tiny, yet Moo(se)-compatible type constraint River stage four • 836 direct dependents • 2563 total dependents

This documents the internals of the Type::Tiny class. Type::Tiny::Manual is a better starting place if you're new. Type::Tiny is a small class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse. use Scalar:...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC - Search in distribution

MooX::Press - quickly create a bunch of Moo/Moose/Mouse classes and roles River stage one • 5 direct dependents • 9 total dependents

MooX::Press (pronounced "Moo Express") is a quick way of creating a bunch of simple Moo classes and roles at once without needing to create separate Perl modules for each class and each role, and without needing to add a bunch of boilerplate to each ...

TOBYINK/MooX-Press-0.086 - 19 Jul 2022 09:06:55 UTC - Search in distribution

Method::Signatures - method and function declarations with signatures and no source filter River stage two • 53 direct dependents • 61 total dependents

Provides two new keywords, "func" and "method", so that you can write subroutines with signatures instead of having to spell out "my $self = shift; my($thing) = @_" "func" is like "sub" but takes a signature where the prototype would normally go. Thi...

BAREFOOT/Method-Signatures-20170211 - 11 Feb 2017 21:41:28 UTC - Search in distribution

Task::Kensho - A Glimpse at an Enlightened Perl River stage one • 4 direct dependents • 4 total dependents

Task::Kensho is a list of recommended, widely used and best-in-class modules for Enlightened Perl development. CPAN is wonderful, but there are too many wheels and you have to pick and choose amongst the various competing technologies. From <http://e...

ETHER/Task-Kensho-0.41 - 03 Jul 2021 03:40:21 UTC - Search in distribution

Blosxom::Plugin - Base class for Blosxom plugins River stage zero No dependents

This module enables Blosxom plugins to create class attributes and load additional components. Blosxom never creates instances of plugins, and so they can't have instance attributes. This module creates class attributes instead, and always undefines ...

ANAZAWA/Blosxom-Plugin-0.02004 - 26 Nov 2012 21:42:32 UTC - Search in distribution

Moose::Exporter - make an import() and unimport() just like Moose.pm River stage four • 2930 direct dependents • 4024 total dependents

This module encapsulates the exporting of sugar functions in a "Moose.pm"-like manner. It does this by building custom "import" and "unimport" methods for your module, based on a spec you provide. It also lets you "stack" Moose-alike modules so you c...

ETHER/Moose-2.2207 - 21 Jan 2024 01:10:45 UTC - Search in distribution

MooseX::DIC - A dependency injector container for Moose River stage zero No dependents

Full documentation on the MooseX::DIC Webpage <http://docs.moosex-dic.org>. MooseX::DIC is a dependency injection container tailored to Moose, living in a full OOP environment and greatly inspired by Java DIC frameworks like Spring <https://docs.spri...

LPRIETO/MooseX-DIC-0.5.0 - 22 Oct 2017 20:02:51 UTC - Search in distribution

Reflex::Role - define a Reflex paramaterized role River stage one • 7 direct dependents • 7 total dependents

Reflex::Role defines a class as a Reflex parameterized role. It adds a few Reflex-specific exports to MooseX::Role::Parameterized. It will be very helpful to understand the MooseX::Role::Parameterized declarations "parameter", "role" and "method" bef...

RCAPUTO/Reflex-0.100 - 02 Apr 2017 21:56:28 UTC - Search in distribution

Sub::NonRole - prevent some subs from appearing in a role's API River stage one • 1 direct dependent • 2 total dependents

This module allows you to mark certain subs within a role as not being part of the role's API. This means that they will not be copied across into packages which consume the role. The subs can still be called as: My::Role->other_function(); My::Role:...

TOBYINK/Sub-NonRole-0.006 - 17 Jun 2022 22:43:22 UTC - Search in distribution

Task::Moose - Moose in a box River stage one • 3 direct dependents • 3 total dependents

This Task installs Moose and then optionally installs a number of Moose extensions listed below. This list is meant to be comprehensive, so if I missed something please let me know....

DOY/Task-Moose-0.03 - 27 Sep 2009 17:58:01 UTC - Search in distribution

MooX::Traits - automatically apply roles at object creation time River stage two • 6 direct dependents • 16 total dependents

Was any of the SYNOPSIS unexpected? Basically, this module is the same thing as MooseX::Traits and MouseX::Traits, only for Moo. *Quelle surprise*, right? Methods "$class->with_traits( @traits )" Return a new class name with the traits applied. "$cla...

TOBYINK/MooX-Traits-0.005 - 16 Sep 2014 15:05:36 UTC - Search in distribution

Role::Commons - roles that can be commonly used, for the mutual benefit of all River stage two • 12 direct dependents • 18 total dependents

Role-Commons is not yet another implementation of roles. It is a collection of generic, reusable roles that hopefully you will love to apply to your classes. These roles are built using Moo::Role, so automatically integrate into the Moose object syst...

TOBYINK/Role-Commons-0.104 - 24 Oct 2014 10:19:40 UTC - Search in distribution

Catalyst::ControllerRole::At - A new approach to building Catalyst actions River stage zero No dependents

The way Catalyst uses method attributes to annote a subroutine with meta information used to map that action to an incoming request has sometimes been difficult for newcomers to the framework. Partly this is due to how the system evolved and was augm...

JJNAPIORK/Catalyst-ControllerRole-At-0.008 - 15 Jul 2023 19:12:20 UTC - Search in distribution

MooseX::Storage - A serialization framework for Moose classes River stage two • 38 direct dependents • 83 total dependents

MooseX::Storage is a serialization framework for Moose, it provides a very flexible and highly pluggable way to serialize Moose classes to a number of different formats and styles. Levels of Serialization There are three levels to the serialization, ...

ETHER/MooseX-Storage-0.53 - 18 Apr 2020 03:48:20 UTC - Search in distribution

Task::Kensho::OOP - A Glimpse at an Enlightened Perl: Object Oriented Programming River stage one • 2 direct dependents • 2 total dependents

From <http://en.wikipedia.org/wiki/Kensho>: Kenshō (見性) (C. Wu) is a Japanese term for enlightenment experiences - most commonly used within the confines of Zen Buddhism - literally meaning "seeing one's nature"[1] or "true self."[2] It generally "re...

ETHER/Task-Kensho-OOP-0.41 - 03 Jul 2021 16:19:11 UTC - Search in distribution

MooseX::OneArgNew - teach ->new to accept single, non-hashref arguments River stage three • 3 direct dependents • 844 total dependents

MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a parameterized role with three parameters: type The Moose type that the single argument must be for the one-arg fo...

RJBS/MooseX-OneArgNew-0.007 - 01 Jan 2023 02:17:14 UTC - Search in distribution

MooseX::AttributeTree - Inherit attribute values like HTML+CSS does River stage one • 1 direct dependent • 1 total dependent

Classes can inherit attributes from their parent classes. But sometimes you want an attribute to be able to inherit its value from a parent object. For example, that's how CSS styles work in HTML. MooseX::AttributeTree allows you to apply the "TreeIn...

CJM/MooseX-AttributeTree-0.06 - 27 Jun 2015 20:43:46 UTC - Search in distribution
49 results (0.113 seconds)